<?php
/* @var $this RxController */
/* @var $model Rx */

$this->breadcrumbs=array(
	'Rxes'=>array('index'),
	$model->id,
);

$this->menu=array(
	array('label'=>'List Rx', 'url'=>array('index')),
	array('label'=>'Create Rx', 'url'=>array('create')),
	array('label'=>'Update Rx', 'url'=>array('update', 'id'=>$model->id)),
	array('label'=>'Delete Rx', 'url'=>'#', 'linkOptions'=>array('submit'=>array('delete','id'=>$model->id),'confirm'=>'Are you sure you want to delete this item?')),
	array('label'=>'Manage Rx', 'url'=>array('admin')),
);
?>

<h1>View Rx #<?php echo $model->id; ?></h1>

<?php $this->widget('zii.widgets.CDetailView', array(
	'data'=>$model,
	'attributes'=>array(
		'id',
		'pd_od',
		'pd_os',
		'pd',
		'tint',
		'lens_material',
		'lens_design',
		'instruction',
		'segment_height',
				array('name'=>'Patient First Name','value'=>$model->personalinfo->fname),
		array('name'=>'Patient Last Name','value'=>$model->personalinfo->lname),
		array('name'=>'Product Used','value'=>$model->inventory->name),
				array('name'=>'Employee Name','value'=>$model->employee->fname),
	),
)); ?>
